using System;

namespace XmlPageFlowWithShoppingCartQuickstart.Store.BusinessLogic.BussinesEntites
{
	[Serializable]
	public class CartItem
	{
		private Product _product;

		public Product Product
		{
			get { return _product; }
			set { _product = value; }
		}

		private int _quantity;

		public int Quantity
		{
			get { return _quantity; }
			set { _quantity = value; }
		}

		public CartItem(Product product, int quantity)
		{
			_product = product;
			_quantity = quantity;
		}
	}
}